Chapter 1 - An Introduction to QuickDraw GX
This chapter introduces QuickDraw GX. It provides an overview of the features of QuickDraw GX and discusses the philosophy and programming approach taken by QuickDraw GX. After reading this chapter, you should have a good understanding of the breadth of functionality provided by this new imaging architecture.The chapter starts out by defining QuickDraw GX: What is it? What features does it provide? How does it fit into the rest of the Macintosh system software? What do you have to do to provide QuickDraw GX functionality in your application?
The chapter then provides an overview of the QuickDraw GX technical documentation and discusses each of the major parts of QuickDraw GX:
This chapter introduces each of these parts from a conceptual standpoint. Although this chapter contains some discussion about programming with QuickDraw GX, no specific programming examples are given here. The next two chapters, "A Quick & Easy Sample Program" and "Using QuickDraw GX Objects," introduce QuickDraw GX using simple programming examples.
- the object-based architecture
- the graphics capabilities
- the typographic features
- the printing system
- the run-time environment
- the programming experience
The rest of the chapters in this book show how to solve specific programming problems with QuickDraw GX.
Chapter Contents
- What Is QuickDraw GX?
- Features of QuickDraw GX
- QuickDraw GX and the Macintosh Toolbox
- QuickDraw GX and Your Application
- QuickDraw GX Documentation
- Object-Based Architecture
- Objects and Object References
- Advantages of Objects
- State-Independent Information
- Caches
- Privacy
- Consistency
- Sharing
- Objects and Memory
- Managing Owner Counts
- Loading and Unloading Objects
- QuickDraw GX Objects
- Shape Objects
- Graphics Shape Objects
- Typographic Shape Objects
- Supporting Objects
- Printing Objects
- Printing
- Features of QuickDraw GX Printing
- The Printing Process
- Printing Dialog Boxes
- The Run-Time Environment
- Versions of QuickDraw GX
- Memory
- Error Handling
- Graphics and Typography Errors
- Printing Errors
- The Programming Experience
- Programming
- Programming Conventions
- Programming Utilities
- Sample Libraries
- Debugging
- Debugging Version
- GraphicsBug